const express = require('express');

let loginRouter = express.Router();

loginRouter.get('/',(req,res)=>{
    res.render('login',{title:'welcome'});
});

loginRouter.post('/',(req,res)=>{
    console.log(req.body);
    res.send('1');
});

module.exports = loginRouter;